package util;

import edu.wpi.first.wpilibj.PIDOutput;

/**
 *
 * @author TJ
 */
public class ScaledPIDOutput implements PIDOutput {
    PIDOutput out;
    double scale;

    public ScaledPIDOutput(PIDOutput out, double scale) {
        this.out = out;
        this.scale = scale;
    }

    public void pidWrite(double d) {
        out.pidWrite(d * scale);
    }
}
